/*
 * @Author: your name
 * @Date: 2021-03-30 21:37:41
 * @LastEditTime: 2021-04-01 17:15:24
 * @LastEditors: Please set LastEditors
 * @Description: 全局管理开启  用于 开启 白板和关闭白板时  不同的页面做不同的事
 * @FilePath: \web_local_rtc\src\store\modules\white\index.js
 */
const whiteMo = {
  namespaced: true,
  state: () => ({
    isOpenCameraBtn: false, // 是否 不可点击 打开摄像头按钮
  }),
  getters: {
    getOpenCameraBtn (state) {
      return state.isOpenCameraBtn
    }
  },
  mutations: {
    changeCameraBtn (state, boo) { // 更改状态
      state.isOpenCameraBtn = boo
    },
  },
  actions: {

  }
}

export default whiteMo